package chapter04;

import java.util.Scanner;

public class Day5 {
    public static void main(String[] args) {
       Scanner input = new Scanner(System.in);
       System.out.println("请输入语文成绩：");
        double a = input.nextDouble();
        System.out.println("请输入数学成绩：");
        double b = input.nextDouble();
        System.out.println("请输入英语成绩：");
        double c = input.nextDouble();
        if((a==100|| b==100|| c==100)&&(a>=60&&b>=60&&c>=60)){
            System.out.println("奖励一台iphone14 Pro Max 1TB 暗夜紫");
        }
        else {
            System.out.println("在家学习");
        }
    }
}
